package routers

import (
	"Pandaria/controllers"
	"github.com/astaxie/beego"
	//"github.com/astaxie/beego/context"
)

func init() {
	beego.Router("/", &controllers.MainController{})

	beego.Router("/api/user", &controllers.UserController{})
	beego.Router("/api/bgImg", &controllers.ResrouceController{})

	//示例代码
	beego.AutoRouter(&controllers.ExampleController{})
}
